package JXY01;

//敌机[大中小] score 血量
public class Airplane extends FlyingObject implements Enemy{
    private int blood;

    public Airplane(){
        image = Aircraft_Battle.airplane;
        width = image.getWidth();
        height = image.getHeight();
        x = (int)(Math.random() * 400);
        y = -height;
        speed = 4;
    }
    public void move(){
        y += speed;
    }

    @Override
    public int getScore() {
        return 5;
    }
}
